package com.example.esp8266.Library.RoomLib;

import androidx.room.Database;
import androidx.room.RoomDatabase;

import com.example.esp8266.Library.RoomLib.Dao_Interface.TaskDao;
import com.example.esp8266.Library.RoomLib.Dao_Interface.TaskDetailDao;
import com.example.esp8266.Library.RoomLib.Dao_Interface.TaskGroupDao;

@Database(entities = {TaskGroup.class, Task.class, TaskDetail.class}, version = 2,exportSchema = false)
public abstract class AppDatabase extends RoomDatabase {
    public abstract TaskGroupDao taskGroupDao();
    public abstract TaskDao taskDao();
    public abstract TaskDetailDao taskDetailDao();
}